home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Gamer 7.33 (October)
/
PC Gamer Disc 7.33 (October 2003).ISO
/
Data
/
items.pcg
/
scripts
/
frame_5
/
DoAction.as
Wrap
Text File
|
2003-07-17
|
2KB
|
124 lines
loadMovieNum("Data/" + eval("demoname" + TheCurrentDemo) + ".pcg",2);
theBox1._y = DemoBox_y;
gamename = eval("demoname" + TheCurrentDemo);
description = eval("demodesc" + TheCurrentDemo);
processor = eval("processor" + TheCurrentDemo) + " " + eval("speed" + TheCurrentDemo) + "MHz";
RAM = eval("RAM" + TheCurrentDemo) + "MB";
rawgameHD = int(eval("HD" + TheCurrentDemo));
readme = eval("readmepath" + TheCurrentDemo);
if(eval("readmepath" + TheCurrentDemo) != "")
{
ReadMeControl.gotoAndStop(2);
}
else
{
ReadMeControl.gotoAndStop(1);
}
if(1000 < rawgameHD)
{
HD = int(eval("HD" + TheCurrentDemo)) / 1000 + "GB";
}
else
{
HD = int(eval("HD" + TheCurrentDemo)) + "MB";
}
API = eval("API" + TheCurrentDemo);
OtherReq = eval("OtherReq" + TheCurrentDemo);
publisher = eval("demopub" + TheCurrentDemo);
developer = eval("demodev" + TheCurrentDemo);
url = eval("demourl" + TheCurrentDemo);
gameDX = eval("gameDX" + TheCurrentDemo);
if(eval("exclusive" + TheCurrentDemo) == 1)
{
exclusiveButton._Alpha = 100;
}
else
{
exclusiveButton._Alpha = 0;
}
if(Yprocessor == "Scan Error")
{
check1.gotoAndStop(3);
}
else if(speed < int(eval("speed" + TheCurrentDemo)))
{
check1.gotoAndStop(2);
}
else
{
check1.gotoAndStop(1);
}
if(YRAM == "Scan Error")
{
check2.gotoAndStop(3);
}
else if(int(thisram) < int(eval("RAM" + TheCurrentDemo)))
{
check2.gotoAndStop(2);
}
else
{
check2.gotoAndStop(1);
}
if(YHD == "Scan Error")
{
check3.gotoAndStop(3);
}
else if(rawHDfree < int(eval("HD" + TheCurrentDemo)))
{
check3.gotoAndStop(2);
}
else
{
check3.gotoAndStop(1);
}
if(YAPI == "Scan Error")
{
check4.gotoAndStop(3);
}
else if(eval("API" + TheCurrentDemo) == "Yes")
{
if(thisaccel.indexOf("GDI") != -1)
{
check4.gotoAndStop(2);
}
else
{
check4.gotoAndStop(1);
}
}
else
{
check4.gotoAndStop(1);
}
if(YDX == "Scan Error")
{
check5.gotoAndStop(3);
}
else if(YDX < gameDX)
{
check5.gotoAndStop(2);
installDX.gotoAndStop(2);
}
else
{
check5.gotoAndStop(1);
installDX.gotoAndStop(1);
}
if(eval("demorating" + theCurrentDemo) == "mature")
{
therating.gotoAndStop(1);
}
else if(eval("demorating" + theCurrentDemo) == "teen")
{
therating.gotoAndStop(2);
}
else if(eval("demorating" + theCurrentDemo) == "everyone")
{
therating.gotoAndStop(3);
}
else
{
therating.gotoAndStop(4);
}